package com.neusoft.modules.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.modules.web.entity.ChunkInfoEntity;

import java.util.List;

public interface ChunkUploadService extends IService<ChunkInfoEntity> {

    /**
     * 根据标识查询文件信息
     * @param identifier
     * @return
     */
    List<ChunkInfoEntity> queryChunkInfoByIdentifier(String identifier, String fileName);

    /**
     * 保存文件
     */
    boolean saveChunkInfo(ChunkInfoEntity chunkInfo);


}
